]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Don't overwrite existing LD_LIBRARY_PATH when running g-ir-compiler
authorOwen Taylor <otaylor@src.gnome.org>
Mon, 3 Nov 2008 20:41:25 +0000 (20:41 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 3 Nov 2008 20:41:25 +0000 (20:41 +0000)
When running g-ir-compiler, augment LD_LIBRARY_PATH with the current
directory, rather than overwriting it entirely.

svn path=/trunk/; revision=27

src/Makefile.am

index 1ae6d1cb792daf5955e9830e456f36ef808fb528..9aca09cc8a8c48f21fc767e5245f59cb32250e3d 100644 (file)
@@ -48,4 +48,4 @@ Shell-0.1.gir: libgnome-shell-introspect.la $(libgnome_shell_la_SOURCES)
 # The dependency on libgnome-shell.la here is because g-ir-compiler opens it
 # (not the fake library, since we've already done the rewriting)
 Shell-0.1.typelib: libgnome-shell.la Shell-0.1.gir
-       LD_LIBRARY_PATH=. g-ir-compiler Shell-0.1.gir -o $@
+       LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Shell-0.1.gir -o $@